# create_tab.pl
# function for tabform

# load modules
require "./electric_bulletin_board-lib.pl";
require "./config.pl";


# create_tab()
# create tab generate functions
sub create_tab() {
	# configure form start
	my $upid = time().$$;
	print &ui_form_start("upload.cgi?id=$upid", "form-data", undef,
		&read_parse_mime_javascript($upid, ["upload"]));
	
	# tab name
	print &ui_hidden("tab", "create");
	
	# upload image file
	print "<h4>$text{'create_imageformat'}</h4>";
	print &ui_upload("upload", 30);	
	
	# run button
	print &item_hr();
	print &ui_submit($text{'create_submit'});
	
	# configure form end
	print &ui_form_end();
}

# create_run()
# create run functions
sub create_run() {
	return;
}

